import React, { Component } from 'react'
import MusicHome from '../MusicHome';
import Singer from '../Singer';
import {Route, NavLink} from 'react-router-dom';
export default class YinYueGuan extends Component {
    render() {
        return (
            <div>
                <ul className="list-unstyled list-inline">
                    <li><NavLink exact to="/home">首页</NavLink></li>
                    <li><NavLink to="/home/singer">歌手</NavLink></li>
                </ul>

                <Route exact path="/home" component={MusicHome} />
                <Route path="/home/singer" component={Singer} />
            </div>
        )
    }
}
